package com.example.shardingmultdatasource.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

@ConfigurationProperties(prefix = "db")
@Data
public class DBConfig {
    List<DB> dbs = new ArrayList<>();

}
